package com.jiandan.business.util;

import java.text.DecimalFormat;

public class CemeteryUtil {
	
	/**
	 * 数字格式化.
	 *
	 * @param num the num
	 * @param pattern the pattern
	 * @return the string
	 */
	public static String numberFormat(int num, String pattern){
		DecimalFormat df = new DecimalFormat(pattern);
		return df.format(num);
	}

}
